package com.homework.module6part2.service.impl;

import com.homework.dao.domain.Job;
import com.homework.dao.mapper.JobMapper;
import com.homework.module6part2.service.JobService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class JobServiceImpl implements JobService {
    @Autowired
    protected JobMapper jobMapper;

    public List<Job> jobList() {
        return jobMapper.getJobs();
    }
}
